package com.asd.system.service;

import com.asd.system.entity.Role;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author
 * @createtime 2021-09-13 14:19
 * @description
 */
public interface IRoleService extends IService<Role> {


    List<Role> selectUserPage(Page<Role> page);

    /**
     * 批量删除角色
     * @param roleids
     * @return
     */
    public boolean deleteBatchRole(String[] roleids);

    /**
     * 删除角色
     * @param roleid
     * @return
     */
    public boolean deleteRole(String roleid);
}
